
<div class="Main">
  <div class="dw">
<#--<#include "/views/ftl/base/menu.ftl">
<#function a><#return "销售单统计_List"></#function> -->
<!--右边内容-->
<div class="Rightbox fl">
    <!--导航-->
    <div class="Bread_crbs clear">
      <div class="Bread_crbs_img fl"></div>
      <div class="Bread_crbs_text fl">
      	<a href="javascript:void(0);"><span>销售单统计</span></a>
      	<span class="fnt_famy">></span>
      	<a href="javascript:void(0);"><span>销售单商品列表</span></a>
      </div>
    </div>
    	

 
</div>


       <!-- brandId,goodsNumber,goodsName,goodsCategoryId,totalStockCount,applySex,tagPrice,retailPrice,season,unit,-->
        <div class="clear"></div>
        <!--表格列表-->
        <div class="Table" style="width:1200px;">
          <table id="table" cellpadding="0" cellspacing="1">
            <tbody>
              <tr id="gl"> 
             
               
              <#if requestVo.statisticsType??>
              <#if requestVo.statisticsType ==1>  
               
              
              <td>条码</td>
              <td>货品号</td> 
              <td>货品名</td>
              <td>图片</td>
              <td>颜色</td> 
              <td>尺码</td>
              
               <td>销售价</td> 
             
              <td>大分类</td>
              <td>小分类</td>
               <td>总销量</td>
               <td>总营业额</td> 
               <td>操作</td>
               <#elseif requestVo.statisticsType ==2>  
              <td>货品号</td>
              <td>货品名</td> 
              <td>图片</td>
               <td>销售价</td>  
              
             
              <td>大分类</td>
              <td>小分类</td>
               <td>总销量</td>
               <td>总营业额</td> 
               <td>操作</td>
              <#elseif requestVo.statisticsType ==3>
               <td>销售员</td> 
               <td>总销量</td>
               <td>总营业额</td>
                <#-- <td>操作</td>-->
                
                <#elseif requestVo.statisticsType ==4>
                <td>颜色</td> 
                <td>总销量</td>
               <td>总营业额</td>
                <#elseif requestVo.statisticsType ==5>
                <td>尺码</td> 
                <td>总销量</td>
               <td>总营业额</td>
              </#if>
               
              </#if>
             
           <#--   <td>销单状态</td>
             <td>销单号</td>
              <td>销售时间</td> 
              <td>销售员</td>
              
              <td>销售价</td> 
            <td>总量</td>
              <td>总价</td> 
    		  <td>折扣</td>
              <td>折扣价</td>  
   			 <td>结算价</td>
              <td>实际总价</td> 
              
              
              
              <td>条码</td>
              <td>货品号</td>
              <td>货品名</td>
              <td>颜色</td> 
              <td>尺码</td>
             
              <td>大分类</td>
              <td>小分类</td>
               <td>总销量</td>
               <td>总营业额</td>
              <td>操作</td> -->
              
              </tr>
            <#if (pager.list??)> 
           <#if ((pager.list?size)>0)>
           <#list pager.list as product>
     		<tr>  
     		
     		<#if requestVo.statisticsType??>
              <#if requestVo.statisticsType ==1>  
               
              
              <td><a href="javascript:click_barCode('${(product.barCode)!''}');">${(product.barCode)!''}</a></td>
              <td><a href="javascript:click_goodsNumber('${(product.goodsNumber)!''}');">${(product.goodsNumber)!''}</a></td>  
               <td>${(product.goodsName)!''}</td> 
               <td><img width="100px" heigth="100px" src="${(product.goodsImage)!'images/null.png'}"></td>
               <td>${(product.colorSpecificationValue)!''}</td>
             <td>${(product.sizeSpecificationValue)!''}</td>  
              
               <td>${(product.retailPrice)!''}</td> 
             <td>${(product.firstGoodsCategoryName)!''}</td>
             <td>${(product.secondGoodsCategoryName)!''}</td>  
              <td>${((product.totalQuantityCount)?c)!''}</td>
               <td>${((product.realTotalPriceCount)?c)!''}</td>
              <td class="tbl_btn"> 
              <a href="javascript:click_lookgoodsNumber('${(product.goodsNumber)!''}')"><span class="review_single_model" style="    background: #00ad55;">货品统计</span></a>
              <a href="${basePath}manager/Goods_goodsInfo?goodsId=${(product.goodsId)?c}"><span class="review_single_model" style="    background: #00ad55;">查看</span></a>
                </td>
              
               <#elseif requestVo.statisticsType ==2>   
               <td><a href="javascript:click_goodsNumber('${(product.goodsNumber)!''}');">${(product.goodsNumber)!''}</a></td> 
               <td>${(product.goodsName)!''}</td> 
               <td><img width="100px" heigth="100px"  src="${(product.goodsImage)!'images/null.png'}"></td>
               
               <td>${(product.retailPrice)!''}</td>   
             
             <td>${(product.firstGoodsCategoryName)!''}</td>
             <td>${(product.secondGoodsCategoryName)!''}</td>  
              <td>${((product.totalQuantityCount)?c)!''}</td>
               <td>${((product.realTotalPriceCount)?c)!''}</td>
              <td class="tbl_btn">
              <a href="javascript:click_lookgoodsNumber('${(product.goodsNumber)!''}')"><span class="review_single_model" style="    background: #00ad55;">货品统计</span></a> 
              <a href="${basePath}manager/Goods_goodsInfo?goodsId=${(product.goodsId)?c}"><span class="review_single_model" style="    background: #00ad55;">查看</span></a>
               </td>
              
              <#elseif requestVo.statisticsType ==3>
              <td><a href="javascript:click_shopClerkId('${(product.shopClerkId)!''}');">${(product.jobNumber)!''}:${(product.clerkName)!''}</a></td>
                <td>${((product.totalQuantityCount)?c)!''}</td>
               <td>${((product.realTotalPriceCount)?c)!''}</td>
            <#--   <td class="tbl_btn"><a href="${basePath}manager/Goods_goodsInfo?goodsId=${(product.goodsId)?c}"><span class="review_single_model" style="    background: #00ad55;">查看</span></a>  </td>-->
              
              <#elseif requestVo.statisticsType ==4>
              <td>${(product.colorSpecificationValue)!''}</td>
                <td>${((product.totalQuantityCount)?c)!''}</td>
               <td>${((product.realTotalPriceCount)?c)!''}</td>
            <#--   <td class="tbl_btn"><a href="${basePath}manager/Goods_goodsInfo?goodsId=${(product.goodsId)?c}"><span class="review_single_model" style="    background: #00ad55;">查看</span></a>  </td>-->
             <#elseif requestVo.statisticsType ==5>
              <td>${(product.sizeSpecificationValue)!''}</td>  
                <td>${((product.totalQuantityCount)?c)!''}</td>
               <td>${((product.realTotalPriceCount)?c)!''}</td>
            <#--   <td class="tbl_btn"><a href="${basePath}manager/Goods_goodsInfo?goodsId=${(product.goodsId)?c}"><span class="review_single_model" style="    background: #00ad55;">查看</span></a>  </td>-->
             
              
              </#if>
              </#if>
     		
     	 
     	 
              </tr>
  			</#list>
          </#if>
          </#if>
            </tbody>
          </table>
        </div>
    <!--翻页按钮-->
        
   <span>数量:</span><span>${(purchaseSaleOrderStatistics.outRealTotalQuantity)?c}件</span>
   <span>总结算:</span> <span>${(purchaseSaleOrderStatistics.realTotalPrice)?c}元</span> 
   <span>总生意额：</span>   <span>${(purchaseSaleOrderStatistics.outRealTotalPrice)?c}元</span> 
   
       
  	 
</div> 
 

